package com.jiaertangshi.jiaer.dao;

import java.util.List;

import com.jiaertangshi.jiaer.dto.Shop;
import com.jiaertangshi.jiaer.dto.vo.GetNearbyShopByPage;

public interface ShopMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shop record);

    int insertSelective(Shop record);

    Shop selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Shop record);

    int updateByPrimaryKey(Shop record);

	List<GetNearbyShopByPage> getNearbyShopByPage(int start, Integer size, double jingdu, double weidu, String xianshiqu, int typeid);

	List<GetNearbyShopByPage> serachNearbyShop(int start, Integer size, double jingdu, double weidu, String serach);
	
}